package com.sc.nft.admin.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class BoxCollection {


    @ApiModelProperty("藏品Id")
    @NotBlank(message = "藏品Id不能为空")
    private Long collectionId;
    @ApiModelProperty("盲盒藏品总数量")
    @NotNull(message = "盲盒藏品总数量不能为空")
    @Range(min = 1,message = "盲盒藏品数量不正确")
    private Integer count;
}
